package com.wechat.back.utils.ACF;

import lombok.Getter;

@Getter
class MatchResult {
    private int startIndex; // 敏感词的起始索引
    private int endIndex;  // 敏感词的结束索引
    private String sensitiveWord; // 敏感词

    public MatchResult(int startIndex, int endIndex, String sensitiveWord) {
        this.startIndex = startIndex;
        this.endIndex = endIndex;
        this.sensitiveWord = sensitiveWord;
    }

}